package com.ny.zmb.openapi.ysutil.from;


import com.ny.zmb.openapi.ysutil.annotation.Length;
import com.ny.zmb.openapi.ysutil.annotation.NotBlank;
import com.ny.zmb.openapi.ysutil.base.BaseBizReqCommand;

/**
 * <P>钱包用户注册请求</P>
 * @version $Id$
 * @user linxl  2022年3月16日 上午10:25:25
 */
public class BindCardReqCommand extends BaseBizReqCommand {

	/**
	 * TODO
	 */
	private static final long serialVersionUID = 1568358867867327395L;

	// 业务请求号
	@NotBlank(message = "业务请求号不能为空")
	@Length(max = 32, message = "业务请求号最大长度不能超过50个字符")
	private String requestNo;

	// 绑卡功能 01-提现+消费（默认值）、02-仅提现、03-仅消费
	@NotBlank(message = "绑卡功能不能为空")
	private String bindFunction;

	// 银行卡号
	@NotBlank(message = "银行卡号不能为空")
	private String bankAccountNo;

	// 银行预留手机号
	@NotBlank(message = "手机号不能为空")
	private String bankMobile;

	// 银行卡有效期
	private String validTime;

	// 信用卡安全码，信用卡必填
	private String cvv;

	public String getRequestNo() {
		return requestNo;
	}

	public void setRequestNo(String requestNo) {
		this.requestNo = requestNo;
	}

	public String getBindFunction() {
		return bindFunction;
	}

	public void setBindFunction(String bindFunction) {
		this.bindFunction = bindFunction;
	}

	public String getBankAccountNo() {
		return bankAccountNo;
	}

	public void setBankAccountNo(String bankAccountNo) {
		this.bankAccountNo = bankAccountNo;
	}

	public String getBankMobile() {
		return bankMobile;
	}

	public void setBankMobile(String bankMobile) {
		this.bankMobile = bankMobile;
	}

	public String getValidTime() {
		return validTime;
	}

	public void setValidTime(String validTime) {
		this.validTime = validTime;
	}

	public String getCvv() {
		return cvv;
	}

	public void setCvv(String cvv) {
		this.cvv = cvv;
	}
}
